package com.dynabook.ems.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 根据成品型号查询版本请求DTO
 */
@Data
@ApiModel(value = "成品型号查询版本请求", description = "根据成品型号查询版本的请求参数")
public class FinishedProductModelRequest {
    
    @ApiModelProperty(value = "成品型号", example = "ABC-123", required = true)
    @NotBlank(message = "成品型号不能为空")
    private String finishedProductModel;
}